$def with (q, lists)

$var title: $_('Search results for Lists')

<div id="contentHead">
  <h1>$_("Search Lists")</h1>
</div>

<div id="contentBody">
  $:macros.SearchNavigation()
  <div class="section">
    <form class="siteSearch olform" action="/search/lists">
      $:render_template("search/searchbox", q=q)
    </form>
  </div>

  $if lists:
    <div class="mybooks-list">
      <ul id="listResults" class="list-books">
      $for list in lists:
        <li class="searchResultItem" id="list-$loop.index">$:render_template("lists/preview", list)</li>
      </ul>
    </div>
  $elif q:
    <center>
      <div class="red">$:_('No <strong>lists</strong> directly matched your search')</div>
      <hr>
    </center>
    <div id="fulltext-search-suggestion" data-query="$q">
        $:macros.LoadingIndicator(_("Checking Search Inside matches"))
    </div>
</div>
